package com.hhj.king.provider;



import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;


/**
 * @author KING
 * @date 2018/9/22 18:15
 */
@SpringBootApplication
@Slf4j
@EnableEurekaClient
public class FirstProviderApp {
    public static void main(String[] args) {
        String port = "8961";
        ConfigurableApplicationContext context = new SpringApplicationBuilder(FirstProviderApp.class)
                .properties("server.port=" + port)
                .run(args);
        log.info("FirstProvider启动完毕....");
    }
}
